-- XSD schema extracted from ITU-T H.627 (08/2020)
<?xml version="1.0" encoding="utf-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema">
<choice maxOccurs="unbounded">
<element name="Control"/>
<complexType>
<sequence>
<!-- Command type: device configuration (required)-->
<element name="CmdType" fixed="DeviceConfig"/>
<!-- Command SN (required) -->
<element name="SN" type="integer" minInclusive="1"/>
<!-- Target device ID (required) -->
<element name="DeviceID" type="deviceIDType"/>
<!-- Basic parameters (optional) -->
<element name="BasicParam" minOccurs="0">
<complexType>
<sequence>
<!-- Device name (optional) -->
<element name="Name" type="string" minOccurs="0"/>
<!-- Registration expiration time (optional)-->
<element name="Expiration" type="integer" minOccurs="0"/>
<!-- heartbeat interval (optional)-->
<element name="HeartBeatInterval" type="integer" minOccurs="0"/>
<!-- Heartbeat timeout count (optional) -->
<element name="HeartBeatCount" type="integer" minOccurs="0"/>
</sequence>
</complexType>
</element>
</sequence>
</complexType>
</choice>
</schema>